package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};

import java.util.List;

/**
* <p>
* ${table.comment!} 服务类
* </p>
*
* @author ${author}
* @since ${date}
*/
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
    boolean create${entity}(${entity} ${entity?lower_case});
    boolean delete${entity}(String bId);
    boolean update${entity}(${entity} ${entity?lower_case});
    ${entity} select${entity}(String bId);
    List<${entity}> list${entity}(${entity} ${entity?lower_case});
}
</#if>
